package com._方法;

public class Test11 {
    public static void main(String[] args) {
        amx(23,56);
        amx(23,65,78);
    }


    public static int amx(int a, int b) {
        int c = a > b ? a : b;
        return c;
    }

    public static int amx(int a, int b, int c) {
        int temp = a > b ? a : b;
        int amx = temp > c ? temp : c;
        return amx;

    }
}
